//
//  MemberCampaignItemView.h
//  HomePage
//
//  Created by xiong qi on 13-5-5.
//  Copyright (c) 2013年 winston. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "../../Common/Common/WaterFallView.h"

#define Key_Height @"ImageHeight"
#define Key_Data    @"Data"

#define WaterFallItemImageWidth     290

@interface MemberCampaignItemView : UIControl<WaterFallCellDelegate>{
    
    NSString * reuseIdentifier;
    UIImageView * imageview;
    NSDictionary * dataSource;
    id parentDelegate;
}

@property(nonatomic,assign)id         parentDelegate;
@property(nonatomic,retain)NSString * reuseIdentifier;
@property(nonatomic,retain)NSDictionary * dataSource;

-(void)loadcelldata:(NSObject *)data;
-(void)clearImage;
-(void)ResetFrame;
+(UIImage *)GetImage:(NSString *)data;
+(CGFloat) caculateCellHeight:(NSMutableDictionary*)Info;
@end
